import {
  axios
} from '@/utils/request'

// 查询表格数据
export function jbdBossList(parameter) {
  return axios({
    url: 'jbd/jbdBossAppointment/record',
    method: 'GET',
    params: parameter,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    }
  })
}

export function jbdBossAdd(parameter) {
  return axios({
    url: 'jbd/jbdBossAppointment/add',
    method: 'POST',
    data: parameter,
    headers: {
      'Content-Type': 'application/json',
    }
  })
}

// 获取已预约设置
export function jbdBossAppointmentList(parameter) {
  return axios({
    url: 'jbd/jbdBossAppointment/list',
    method: 'get',
    params: parameter,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    }
  })
}


// 获取已预约设置
export function myAppointment(parameter) {
  return axios({
    url: 'jbd/jbdBossAppointment/appointment',
    method: 'POST',
    data: parameter,
    headers: {
      'Content-Type': 'application/json',
    }
  })
}

